﻿

/*--Modal Dialog--*/

.AjaxModalBG
{
    background: #666666 url(/images/modal/ModalPopupBG.png) 50% 50% repeat; 
	opacity: .50;
	filter:Alpha(Opacity=50);
	-moz-opacity: 0.50;
}       
        
.ModalPopupBG 
{
    position: absolute;
    z-index:100; 
    top: 0px;	
    left: 0px;	
    height:100%; 
    width:100%;
   	background: #666666 url(/images/modal/ModalPopupBG.png) 50% 50% repeat; 
	opacity: .50;
	filter:Alpha(Opacity=50);
	-moz-opacity: 0.50;
	
	
} 

.ModalShadow
{
   margin: -5px 0 0 -5px; 
   padding: 5px; 
   background: #000000 url(/images/modal/modalshadow.png) 50% 50% repeat-x; 
   opacity: .20;
   filter:Alpha(Opacity=20); 
   -moz-border-radius: 5px; 
   -webkit-border-radius: 5px; 
   border-radius: 5px; 
}

.PageModalContainer
{
      min-height:300px;
      height:auto !important;
      height:500px; 
}

.ModalContainer
{
   
    
}

.ie .ModalContainer
{
    position:fixed;
    z-index:101;
}



.ModalDialog
{
    
    background-color:White;
   -moz-border-radius: 5px; 
   -webkit-border-radius: 5px; 

   /*border-radius: 5px;
     does not work in IE gets a strange size on the modal
   */

   padding:2px;
   border-color:#DDD;
   border-style:solid;
   border-width:2px;
   
}



.ModalDescription
{
    padding:0px;
    margin:0px;
    padding-bottom:2px;
        display:none;
}

.ModalDescription H2
{
    padding:0px;
    margin:0px;
    font-size:14pt;
    color:#000;
}
.ModalDescription P
{
    padding:0px;
    margin:0px;
     color:#000;

}


.ModalToolbar
{
    min-height:30px;
    padding:2px;   
    padding-top:5px;  
    padding-left:4px;  
    width:auto; 
    color: #ffffff; 
    font-weight: bold; 
    text-align:left;    
    
    background-color: #333;
    background-image: none;
    border-bottom-color: #FFF;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color: #444;
    border-left-style: none;
    border-left-width: 0px;
    border-right-color: #444;
    border-right-style: none;
    border-right-width: 0px;
    border-top-color: #484848;
    border-top-style: solid;
    border-top-width: 1px;
    outline-color: #444;
    outline-style: none;
    outline-width: 0px;
    
}

.ModalToolbar .button
{
    margin-right:4px;
}



.ModalToolbar select.small
{
    margin-top:-1px;
    margin-right:4px;
}

.ModalHead
{    
    /*border: 1px solid #e78f08; */
    background: #222;
    color: #ffffff; 
    font-weight: bold; 
    text-align:right;    
    height:32px;
}

.ModalHead span
{
    float:left;
    margin-top:7px;
    margin-left:4px;
    font-size:12pt;
}

.ModalCloseButton
{
    background: url('/images/ico/close.png') no-repeat;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border: none;
    padding: 0px;
    margin-top:4px;
    margin-right:2px;
    margin-left:0px;
    padding:0px;
}



.ModalButtons
{    
    min-height:45px;
    width:100%;   
    background: #D7D7D7;
    border-bottom: 1px solid #BABABA;
    padding-left:4px;
    padding-right:4px;
    padding-top:4px;
    border-top: 1px solid white;
 
}

.ModalButtons_Left
{
    min-height:30px;
    padding-top:5px;
    margin-left:5px;
    vertical-align:bottom;
    text-align:left;
    float:left;
    display:inline;
   
}

.ModalButtons_Right
{
    min-height:30px;
    padding-top:5px;
    margin-right:5px;
    vertical-align:bottom;
    text-align:right;
    float:right;
    display:inline;
   
}


.ModalOpenButton, DIV.block INPUT.ModalOpenButton, DIV.inline INPUT.ModalOpenButton
{
     background: url('/images/ico/openmodal16.gif') no-repeat;
    cursor:pointer; 
    width: 16px; 
    height: 16px; 
    border: none;  
    padding:0px;  
}

DIV.inline INPUT.ModalOpenButton
{
    margin-left: 2px;
}


/*Stöd för scroll på ett visst område i ModallDial 
Om en UserControl öppnas i en "vanlig" sida så aktiveras inte detta eftersom klassen ModalDialog inte finns då
*/
.ModalDialog .ModalScroll300
{
    height:300px;
    overflow:scroll;
}

.ModalDialog .ModalScroll400
{
    height:400px;
    overflow:scroll;
}

.ModalDialog .ModalScroll500
{
    height:500px;
    overflow:scroll;
}

.ModalDialog .ModalScroll600
{
    height:600px;
    overflow:scroll;
}
.ModalDialog .ModalScroll700
{
    height:700px;
    overflow:scroll;
}